package com.atguigu05._super.exer2;

/**
 * ClassName: CylinderTest
 * Package: com.atguigu03._extends.exer2
 * Description:
 *
 * @Author xiao_qi
 * @Create 2024/5/10 21:18
 * @Version 1.0
 */
public class CylinderTest {
    public static void main(String[] args) {
        Cylinder s1 = new Cylinder(3.11);
        s1.setLength(12);
        System.out.println("圆柱的面积为： "+s1.findVolume());
        System.out.println("圆柱的表面积为："+ s1.findArea());
    }
}
